package com.hope.onlinestudy.activity.forgetpass

import android.view.View
import com.hope.onlinestudy.R
import com.hope.onlinestudy.mvp.MVPBaseActivity
import kotlinx.android.synthetic.main.view_title.*

/**
 * MVPPlugin
 * 邮箱 784787081@qq.com
 */
class ForgetPassActivity :
    MVPBaseActivity<ForgetPassContract.View, ForgetPassPresenter>(), ForgetPassContract.View,
    View.OnClickListener {
    override fun getLayoutView(): Int {
        return R.layout.activity_forget_pass
    }

    override fun initData() {
        tv_title.text = "忘记密码"
        iv_backup.setOnClickListener(this)
    }

    override fun onClick(v: View?) {
        when (v?.id) {
            R.id.iv_backup -> finish()
        }
    }
}